
<table cellpadding='0' cellspacing='2'>
<tbody>
	<tr><th>Farm Name</th><th>Farm Contact</th><th>Farm Location</th><th>Field Name</th><th>Current Crop</th><th>Date Planted</th></tr>
	<?php foreach($results as $result) : ?>
	<tr>
		<td><?php echo link_to(ucwords($result['name']), "@view_farm?farm_id={$result['farm_id']}") ?></td>
		<td><?php echo ucfirst($result['contact_fn']), ' ', ucfirst($result['contact_ln']) ?></td>
		<td><?php echo ucwords($result['city']), ', ', $result['state'] ?></td>
		<td><strong><?php echo $result['field_name'] ?></strong></td>
		<td><?php echo $result['current_crop'] ?></td>
		<td><?php echo date(sfConfig::get('app_date_format'),$result['date_planted_ts']) ?></td>
	</tr>
	<?php endforeach; ?>
</tbody>
</table>
